<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
<body class="page-header-fixed">
<div class="form-group" style="margin: 0px;">
		<div class="row">
			<label class="col-sm-1 control-label text-right" >合作商</label>
			<div class="col-sm-3">
				<div class="input-group">
					<select ng-options="merchant.merchantCode as merchant.name for merchant in merchantMap" 
									ng-model="merchAccSearchModel.merchantCode" class="form-control flexselect">
								<option value=""></option>
					</select> 
				 </div>
			</div> 
			<label class="col-sm-1 control-label text-right" >科目</label>
			<div class="col-sm-3">
				<div class="input-group">
					<select ng-options="subject .subjectCode as subject.subjectName for subject in subjectMap" 
									ng-model="merchAccSearchModel.subSubjectCode" class="form-control flexselect">
								<option value=""></option>
					</select> 
				 </div>
			</div> 
			<div class="col-sm-1">
				<div class="input-group">
					<button type="button" class="btn btn-primary"  ng-click="queryMerchantSubjectAcc()"  ><i class="fa "></i>查询</button>
				</div>
			</div>
		</div>
</div>

<hr />
<table class="table table-striped table-bordered table-hover  "
		id="table_1">
		<thead>
			<tr>
				<th>合作商</th>
				<th>科目</th>
				<th>余额</th>
				<th>昨日余额</th>
			</tr>
		</thead>
		<tbody>
			<tr class="odd gradeX"
				ng-repeat="item in merchantAccountList  track by $index"
				on-loaded="{{$last}}" target-table="table_1">
				<td><span	ng-bind="item.merchantCode| getValueInArgFilter : merchantMap : 'name' "></span></td>
				<td><span	ng-bind="item.subSubjectCode| getValueInArgFilter : subjectMap : 'subjectName'" ></span></td>
				<td ><my-span  amount="item.acctBal" /></td>
				<!-- <td><span ng-bind="item.acctBal | currency:'￥'"></span></td> -->
				<!-- <td><span ng-bind="item.lastBal | currency:'￥'" ></span></td> -->
				<td ><my-span  amount="item.lastBal" /></td>
			</tr>
		</tbody>
	</table>
</body>
<script src="manageView/assets/scripts/public.js" type="text/javascript"></script>
</html>  